package com.wkm.chainchain.blockchain.block;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public class Block {

    // 区块头
    private final BlockHeader header;

    // 区块体
    private final BlockBody body;

    public Block(BlockHeader header, BlockBody body) {
        this.header = header;
        this.body = body;
    }
}
